<template>
    <div class="breadcrumb">
        <el-breadcrumb separator="/">
            <el-breadcrumb-item v-for="item in props.datas" :key="item">{{
                item
            }}</el-breadcrumb-item>
        </el-breadcrumb>
        <slot name="default"></slot>
    </div>
    <el-divider />
</template>

<script setup>
const props = defineProps({
    datas: {
        type: Array,
        default: [],
        required: true,
    },
});
</script>

<style lang="scss" scoped></style>
